package com.xieli.invitesdk.utils

import android.app.Activity
import android.content.Context
import android.content.Intent
import com.xieli.invitesdk.ui.InviteMainActivity
/**
 * @Auther sr
 * @Date 2023/9
 * @Description 跳转Activity工具类
 */
object IntentUtils {
    fun startActivity(context: Context, cls: Class<*>) {
        val intent = Intent(context, cls)
        context.startActivity(intent)
    }

    //跳转到邀请首页
    fun startInviteMainActivity(context: Context) {
        val intent = Intent(context, InviteMainActivity::class.java)
        context.startActivity(intent)
    }

}